package chap3;
import java.util.Scanner;
public class Task4 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("输入一个数:");
        int a = input.nextInt() % 7;
        if (a == 0) {
            System.out.println("该数是7的倍数");
        } else {
            System.out.println("该数不是7的倍数");
        }

    }
}
